package demo.business;

import jk.fox.annotaion.RetryState;
import jk.fox.annotaion.RpcService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Auther cuichao
 * @Description: TestImpl
 * @Date: create in 2020/4/13 14:58
 */
@RpcService(id = "testProvider",retry = RetryState.True)
public class TestImpl implements TestInterface {


    @Override
    public Map<String, Object> test(String param, User user, List<User> strings, int flag) {
        Map<String,Object> map = new HashMap<>();
        map.put("param",param);
        map.put("user",user);
        map.put("users",strings);
        map.put("flag",flag);
        return map;
    }


}
